<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<style type="text/css" media="screen,projection">


		body, a, table, div, input { font-family: Verdana, Arial, sans-serif; font-size: 13px; }
		body { text-align: center;} 

		/* definicje linkow */
		a { color: #0000FF; text-decoration: none; }
		a:hover { color: #FF7F00; text-decoration: underline; }

		
		
		table {
			table-layout:fixed;
			width:100%;
			overflow:hidden;
			word-wrap:break-word;
		}
		.kontener {
			border: 1px dotted red;
			margin: 6px auto;
			width: 915px;
			text-align: left;
		}
		
		.kely_fokus { 
			width: 750px;
			margin: 20px 0px 20px 0px;
			background-color: #f0f0f0;
			overflow:hidden;
			word-wrap:break-word;

		}
		
		.meni { 
			width: 750px;
			margin: 20px 0px 20px 0px;
			background-color: #e0f9e0;
		}

		.usere { 
			width: 750px;
			margin: 20px 0px 20px 0px;
			background-color: #e0f9e0;
		}
		
		/* czcionki | g-gray | b-bold | bord-border | */
		.f9   { font-size: 9px; }
		.f9g  { font-size: 9px; color: #808080; }
		.f10  { font-size: 10px; }
		.f11  { font-size: 11px; }
		.f11b { font-size: 11px; font-weight: bold; }
		.f11g { font-size: 11px; color: #808080; }
		.f12  { font-size: 12px; }
		.f12b { font-size: 12px; font-weight: bold; }
		.f12g { font-size: 12px; color: #808080; }
		.f12bg { font-size: 12px; font-weight: bold; color: #808080; }
		.f12bord { font-size: 12px; color: #aa123F; font-weight: bold; }
		.f13  { font-size: 13px; }
		.f13b { font-size: 13px; font-weight: bold; }
		.f14  { font-size: 14px; }
		.f14b { font-size: 14px; font-weight: bold; }
		.f15  { font-size: 15px; }
		.f15b { font-size: 15px; font-weight: bold; }


		</style>
		<script type="text/javascript" language="JavaScript">
<!--
function zliczaj_znaki(my_form)
{
if(my_form.tresc.value.length<=2000)
{
a=my_form.tresc.value.length;
b=2000;
c=b-a;
document.getElementById('ile').innerHTML= '('+c+')';
}
else
{
my_form.tresc.value = my_form.tresc.value.substring(0, 2000);
}}

//-->
</script>
	</head>

	<body>
		<div class="kontener">
			<div>
				
			</div>
			<div class="usere">
			{% if req.user.is_authenticated %}
				<a href="/forum/wyloguj">Wyloguj</a>
				<a href="/forum/edycja_projekt">Edytuj projekt</a>
				<b>{{ req.user }}</b>
				<img src="/moje_media/{{ req.user.get_profile.user_id }}_avt" />
			{% else %}
				<form action="/forum/login" method="post">
					login: <input type="text" name="login" maxlength="20" />
					hasło: <input type="password" name="haslo" maxlength="20" />
					<input type="submit" value="Zaloguj" />
				</form>
				<a href="/forum/nowy_projekt">[Załóż nowy projekt]</a>
				<a href="/forum/przyphaslo">[Przypomnij mi hasło!]</a>
	
				<a href="/forum/emotki">[Emotki]</a>
			{% endif %}
			</div>
			<div class="meni">
				<a href="/forum/0">[FForume]</a>
				<a href="/forum/rank">[Rankige projektów]</a>
				<a href="/forum/c/c/vote">[Zagłosuj na projekte]</a>
			</div>
			<div class="kely_fokus">
				{% block content %}{% endblock %}
			</div>
		</div>
	</body>
</html>
